<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/index.css"/>
<script type="text/javascript" src="./Public/Home/js/jquery-1.9.0.min.js"></script>
<script type="text/javascript" src="./Public/Home/js/clock.js"></script>
<script type="text/javascript">
	$(function(){
		var timer = null;
		$("#rocket").click(function(){
			timer = setInterval(function(){
				var num = $(window).scrollTop();
				$(window).scrollTop(num-20);
				if(num==0){
					clearInterval(timer);
				}
			},30)
		})
	})
</script>
</head>
<body>
	<header id="header">
		<a href="" id="hgroup">
			<h1 id="logo">IT博客-爱生活,爱分享</h1>
			<i class="slogan" title="返回首页" style="width:6em">科技改变生活</i>
		</a>
				<ul>
						<li><a href="index.html">首页</a></li>
			
               						<li><a href="c_1.html" >慢生活</a></li>
						<li><a href="c_2.html"                 class="active"
               >新闻</a></li>
						<li><a href="c_3.html" >娱乐</a></li>
						<li><a href="c_7.html" >文章</a></li>
					</ul>	
	</header>
		<div id="container">
			<div id="main">
				<header class="page-header">
					<h1 class="page-title"><?php echo $name?>：<?php echo $value?></h1>
				</header>
				<?php foreach ($data as $v){?>
				<div class="hentry">
					<div style="text-align: center;">
						<img src="<?php echo $v['thumb']?>" alt="" />
					</div>
					<header class="entry-header">
						<h2 class="entry-title">
							<a href="a_<?php echo $v['aid']?>.html"><?php echo $v['title']?></a>
						</h2>
						<div class="entry-meta">
							<span><?php echo $v['author']?></span>
							<span>•</span>
							<span><?php echo date("Y-m-d H:i:s",$v['sendtime'])?></span>
							<span>•</span>
							<span>
								<a href="c_<?php echo $v['cid']?>.html"><?php echo $v['cname']?></a>
							</span>
							<span>•</span>
							<a href="">0条评论</a>
						</div>
					</header>
					<div class="entry-summary">
						<p><?php echo $v['digest']?></p>
					</div>
					<footer class="entry-footer">
						<a href="a_<?php echo $v['aid']?>.html" class="more-link">继续阅读 »</a>
						<span class="tags-links">
							<?php foreach ($v['tag'] as $tag){?>
							<a href="t_<?php echo $tag['tid']?>.html"><?php echo $tag['tname']?></a>
							<?php }?>
						</span>
					</footer>
				</div>
				<?php }?>
			</div>
			<div id="sidebar">
	<div id="sidebar-top">
		<div class="widget">
			<h3 class="widget-title w1">
				<span class="ico"></span>
			</h3>
			<div class="nclock">
				<span>0</span>
				<span>0</span>:
				<span>0</span>
				<span>0</span>:
				<span>0</span>
				<span>0</span>
			</div>
		</div>
		<!--获取标签-->
				<div class="widget">
			<h3 class="widget-title w2">
				<span class="ico"></span>
			</h3>
			<div class="tag">
							<a href="t_1.html">PHP</a>
							<a href="t_2.html">生活</a>
							<a href="t_3.html">美文</a>
							<a href="t_4.html">热门</a>
							<a href="t_5.html">开心</a>
							
			</div>
		</div>
		<!--获取文章-->
				<div class="widget">
			<h3 class="widget-title w3">
				<span class="ico"></span>
			</h3>
			<div class="arc">
								<p><a href="a_39.html">“2015年度中国农村新闻人物”在京揭晓 燕振昌获特别贡献奖</a></p>
								<p><a href="a_38.html">等候一场雨霁</a></p>
								<p><a href="a_37.html">饿狼传说</a></p>
								<p><a href="a_36.html">《越狱》落榜难以置信 史上最佳英美剧TOP20</a></p>
								<p><a href="a_35.html">煮茶青,廊下共听雨</a></p>
							</div>
		</div>
		<!--获取友链-->
				<div class="widget">
			<h3 class="widget-title w4">
				<span class="ico"></span>
			</h3>
			<div class="links">
							<p><a href="http://www.baidu.com">百度</a></p>
							<p><a href="http://www.google.com">谷歌</a></p>
							<p><a href="http://www.sougou.com">搜狗</a></p>
							<p><a href="http://www.jd.com">京东</a></p>
						</div>
		</div>
	</div>
	<div id="sidebar-bottom"></div>
</div>
		</div>
		<footer id="footer">
	<p class="links">
		<a href="">关于我</a>
		<a href="">爱生活</a>
		<a href="">爱PHP</a>
	</p>
	<div class="copyright">
		© 2016
		<a href="">IT博客-爱生活,爱分享</a>
	</div>
	<a href="javascript:;" id="rocket" class="show" href="" title="返回顶部">
		<i></i>
	</a>
</footer>
	</body>
</html>
